import {
    request
} from "./index";

const apiModule = 'shopInfo/';


// 查询商铺信息
export const qeuryRefundsList = (data) => {
    return request(apiModule + 'getShopBaseInfo', data);
}

//  根据id获取店铺详情
export const _queryDetails = (data) => {
    return request(apiModule + 'queryDetails', data);
};

//  获取用户到店铺的距离
export const _getDistance = (data) => {
    return request(apiModule + 'getDistance', data);
};

//
const apiModuleLive = "liveStream/";

//  直播间列表
export const customerRoomList = ( data, options = {} ) => {
    return request(apiModuleLive + 'customerRoomList', data, options );
};